package com.ye.personnel.api.flow;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: yeubo
 * @Date: 2024/1/2 19:44
 */
@Data
public class FlowDetailVo {

    @ApiModelProperty("流程id")
    private String flowId;

    @ApiModelProperty("流程类型")
    private Integer flowType;
    @ApiModelProperty("流程类型中文")
    private String flowTypeName;

    @ApiModelProperty("发起单位id")
    private String startDepartmentId;
    @ApiModelProperty("发起单位")
    private String startDepartmentName;

    @ApiModelProperty(hidden = true)
    private String currentDepartmentId;
    @ApiModelProperty(hidden = true)
    private Integer currentUserType;

    @ApiModelProperty("当前登录者是否有审核权限 0 无审核权限 1 有审核权限")
    private Integer checkAllow=0;

    @ApiModelProperty("当前登录者是否有编辑权限 0 无编辑权限 1 有编辑权限")
    private Integer editAllow=0;

    @ApiModelProperty("当前审核位置 0表示 拒绝后重新回到发起单位")
    private Integer flowPos;

    @ApiModelProperty("流程是否完结 0 否 1 是")
    private Integer overStatus;

    @ApiModelProperty(hidden = true)
    private Integer currentCheckType;

    @ApiModelProperty("人员列表")
    private List<FlowPersonnelListVo> flowPersonnelList;

    @ApiModelProperty("历史审核记录")
    private List<FlowHistoryListVo> flowHistoryList;

    @ApiModelProperty("当前审核部门")
    private String currentDepartmentName;

}
